package homework.api01.apitest02;

public class CharAtDemo {
    public static void main(String[] args) {
        String str = "thinking in java";
        char c = str.charAt(0);
        System.out.println(c);//t 获取str中下标为0的字符
    }
}
